package lab_1;

import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.util.Date;

/**
 *
 * @author grp02 - Pascal Charreix and Meike Paetz
 *
 * This is the manager interface for SmartTours.
 */
public interface SmartToursManager extends AgencyManager {

    /**
     * Return one package using the RMI registry
     */
    public lab_1.HPackage getHolidayPackage(int id) throws RemoteException;

    /**
     * creates Holiday Package
     */
    public int createHolidayPackage(String Country, Date Start, Date End, String HotelName, int HotelStars, String FlightOperator, float Price) throws RemoteException;

    /**
     *
     * deletes Holiday Package
     */
    public boolean deleteHolidayPackage(int id) throws RemoteException, NotBoundException;
}
